package com.tcm.item.domain.dto;

import java.io.Serializable;
import java.math.BigDecimal;

public class DrugsDTO implements Serializable {
    private Long id;

    private String name;

    private String drugsNo;

    private Long dosageFormId;

    private Long storeId;

    private String specs;

    private Integer expire;

    private Integer nearPeriod;

    private String place;

    private String manufacturer;

    private Long unitId;

    private BigDecimal purchasePrice;

    private BigDecimal salePrice;

    private String pingyin;

    private Long categoryId;

    private Integer lowerLimit;

    private Integer upperLimit;

    private Integer quantity;

    private Byte hasWarehouse;

    private Byte hasWarning;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDrugsNo() {
        return drugsNo;
    }

    public void setDrugsNo(String drugsNo) {
        this.drugsNo = drugsNo == null ? null : drugsNo.trim();
    }

    public Long getDosageFormId() {
        return dosageFormId;
    }

    public void setDosageFormId(Long dosageFormId) {
        this.dosageFormId = dosageFormId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public Integer getExpire() {
        return expire;
    }

    public void setExpire(Integer expire) {
        this.expire = expire;
    }

    public Integer getNearPeriod() {
        return nearPeriod;
    }

    public void setNearPeriod(Integer nearPeriod) {
        this.nearPeriod = nearPeriod;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place == null ? null : place.trim();
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public BigDecimal getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(BigDecimal purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getPingyin() {
        return pingyin;
    }

    public void setPingyin(String pingyin) {
        this.pingyin = pingyin == null ? null : pingyin.trim();
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(Integer lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public Integer getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(Integer upperLimit) {
        this.upperLimit = upperLimit;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Byte getHasWarehouse() {
        return hasWarehouse;
    }

    public void setHasWarehouse(Byte hasWarehouse) {
        this.hasWarehouse = hasWarehouse;
    }

    public Byte getHasWarning() {
        return hasWarning;
    }

    public void setHasWarning(Byte hasWarning) {
        this.hasWarning = hasWarning;
    }

}